package net.alche.fa.core.doing.invoker;
import net.alche.fa.core.model.FaValue;
import java.util.List;
import net.alche.fa.core.FaException;

// 对象调用方法
public abstract class AbstractObjectInvoker {

  public AbstractObjectInvoker() {}

  // 是否为此对象
  abstract public boolean matched(FaValue objVal, Object obj, String methodName, List<FaValue> params);

  // 调用
  abstract public FaValue invoke(FaValue objVal, Object obj, String methodName, List<FaValue> params) throws FaException;
}